
body,
html,
p,
h2,
a,
span {
    padding: 0;
    margin: 0;
    font-family: 'Microsoft YaHei';
    font-size: 0;
}
a {
    text-decoration: none;
}
.pr {
    position: relative;
}
.pa {
    position: absolute;
}
.pf {
    position: fixed;
}
.nav {
    width: 100%;
    height: .6rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 11;
    font-size: 0;
    .nav-box {
        width: 12rem;
        margin: 0 auto;
        .logo-box {
            top: .08rem;
            left: 0;
            .logo {
                width: .66rem;
                height: .66rem;
                display: inline-block;
                vertical-align: top;
                img {
                    width: 100%;
                    height: 100%;
                    display: block;
                }
            }
            .logo-text {
                height: .66rem;
                display: inline-block;
                vertical-align: top;
                margin-left: .16rem;
                .title {
                    color: #e0a550;
                    font-size: .18rem;
                    font-weight: bold;
                    line-height: .26rem;
                }
                .desc {
                    color: #acc09c;
                    font-size: .13rem;
                    line-height: .15rem;
                }
            }
        }
        .navigation {
            top: 0;
            right: 0;
            a {
                color: #aebbac;
                font-size: .18rem;
                line-height: .2rem;
                display: inline-block;
                vertical-align: middle;
                box-sizing: border-box;
                margin: .2rem .24rem;
                position: relative;
                &::after {
                    content: '';
                    position: absolute;
                    width: 1px;
                    height: .14rem;
                    background: #aebbac;
                    top: 50%;
                    right: -.2rem;
                    transform: translateY(-50%);
                    transition: all .3s;
                }
                &:last-child::after {
                    display: none;
                }
                &::before {
                    content: '';
                    position: absolute;
                    bottom: -.2rem;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 0;
                    height: .04rem;
                    background: #e0a550;
                    transition: all .3s;
                }
                &.active, 
                &:hover {
                    color: #e0a550;
                    &::before {
                        width: 100%;
                    }
                }
            }
        }
    }
}
.wrapper {
    font-size: 0;
    height: auto;
    overflow-x: hidden;
    .wrap-bg {
        width: 19.2rem;
        object-fit: cover;
    }
    .side-nav {
        top: 50%;
        left: .5rem;
        transform: translateY(-50%);
        z-index: 11;
        .nav-link {
            display: block;
            width: 1.84rem;
            height: .48rem;
            margin-bottom: .34rem;
            &:last-child {
                margin-bottom: 0;
            }
            img {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                transition: all .3s;
                &:nth-child(2) {
                    opacity: 0;
                }
            }
            &.active,
            &:hover {
                img {
                    &:nth-child(1) {
                        opacity: 0;
                    }
                    &:nth-child(2) {
                        opacity: 1;
                    }
                }
            }
        }
    }
    .side-float {
        width: 1.6rem;
        top: 50%;
        right: 0;
        transform: translateX(1.6rem) translateY(-50%);
        transition: all .3s;
        z-index: 11;
        &.open {
            transform: translateX(0) translateY(-50%);
        }
        .side-float-bg {
            width: 100%;
            display: block;
        }
        .switch {
            width: .17rem;
            height: .5rem;
            top: .52rem;
            left: -.17rem;
            z-index: 1;
            img {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                &:nth-child(1) {
                    opacity: 1;
                }
                &:nth-child(2) {
                    opacity: 0;
                }
            }
            &.open {
                img {
                    &:nth-child(1) {
                        opacity: 0;
                    }
                    &:nth-child(2) {
                        opacity: 1;
                    }
                }
            }
        }
        .side-float-box {
            width: 100%;
            top: .25rem;
            left: 0;
            overflow: hidden;
            .qrcode-box {
                width: 1.25rem;
                height: 1.25rem;
                margin: 0 auto;
                .qrcode-container img {
                    width: 100%;
                    height: 100%;
                }
                .qr-line {
                    width: 1.49rem;
                    left: 50%;
                    top: 0;
                    transform: translateX(-50%) translateY(0);
                    animation: linetranslatey 1.8s linear infinite;
                    @keyframes linetranslatey {
                        0%, 100% {
                            transform: translateX(-50%) translateY(0);
                        }
                        50% {
                            transform: translateX(-50%) translateY(1.1rem);
                        }
                    }
                }
            }
            p {
                text-align: center;
                line-height: .34rem;
                color: #5d796c;
                font-size: .13rem;
            }
            .act-icon {
                width: 1.38rem;
                text-align: center;
                margin: .1rem auto 0;
                a {
                    width: .4rem;
                    height: .4rem;
                    position: relative;
                    display: inline-block;
                    margin: 0 .03rem;
                    img {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        &:nth-child(2) {
                            opacity: 0;
                        }
                    }
                    &:hover {
                        img:nth-child(2) {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }
    .arrow {
        width: 2.23rem;
        left: 50%;
        transform: translateX(-50%);
        bottom: .4rem;
        z-index: 11;
        animation: arrow 1s infinite alternate;
        @keyframes arrow {
            0%, 100% {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
            }
            50% {
                transform: translateX(-50%) translateY(-.1rem);
                opacity: .5;
            }
        }
    }
    .section {
        width: 100%;
        left: 0;
    }
    .page-index {
        top: 0;
        .btn-video {
            width: 1.08rem;
            top: 4.75rem;
            left: 14rem;
            img {
                width: 100%;
                display: block;
                animation: scalebtn 1.5s linear infinite;
            }
        }
        .btn-make {
            width: 3.2rem;
            top: 4.2rem;
            left: 7.9rem;
            img {
                width: 100%;
                display: block;
                animation: scalebtn 1.2s linear infinite;
            }
        }
        @keyframes scalebtn {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(.9);
            }
        }
        .flo-reward {
            img {
                width: 100%;
                display: block;
            }
        }
    }
    .page-news {
        color: var(--fontColor);
        background: $bgColor;
        font-size: .24rem;
        top: 10.8rem;
    }
    .page-applet {
        color: var(--fontColor);
        background: $bgColor;
        font-size: .24rem;
        top: 21.6rem;
    }
    .page-picture {
        color: var(--fontColor);
        background: $bgColor;
        font-size: .24rem;
        top: 32.4rem;
    }
    .page-selling {
        color: var(--fontColor);
        background: $bgColor;
        font-size: .24rem;
        top: 43.2rem;
    }
}
// swiper
.swiper-wraper {
    width: 100%;
    margin: 0 auto;
    height: 640px;
    .swiper-home {
        height: 100%;
        font-size: 50px;
        .swiper-wrapper {
            width: 100%;
            height: 100%;
        }
        .swiper-slide {
            width: 100%;
            height: 100%;
      position: relative;
      .move {
        color: #f4f5f7;
        display: block;
        margin: 0 auto;
        position: absolute;
        left: 200px;
        top: 200px;
        .logo {
          img {
            height: 100px;
            width: 100px;
          }
        }
        h3 {
          font-size: 36px;
          font-weight: bolder;
          line-height: 42px;
          margin: 24px;
        }
        a.btn {
          display: block;
          background: #005dfc;
          color: #fff;
          font-size: 16px;
          height: 42px;
          line-height: 42px;
          position: relative;
          text-align: center;
          width: 160px;
        }
      }
      .img {
        width: 100%;
        height: 640px;
        object-fit: cover;
      }
    }
  }
}
// Pop
.fade-enter, .fade-leave-to {
    opacity: 0;
}
.fade-enter-active, .fade-leave-active {
    transition: all .3s;
}
.pop {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    .com-box {
        max-width: 7.5rem;
        max-height: 9rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        video, img {
            max-width: 7.5rem;
            max-height: 9rem;
        }
    }
    .pop-close {
        width: 0.4rem;
        height: 0.4rem;
        top: -0.45rem;
        right: 0;
        z-index: 1;
        transition: all .3s;
        &::before {
            content: '';
            width: 0.05rem;
            height: 0.45rem;
            border-radius: 0.1rem;
            background: #e0a550;
            position: absolute;
            top: 0;
            left: 0.16rem;
            transform: rotate(-45deg);
        }
        &::after {
            content: '';
            width: 0.05rem;
            height: 0.45rem;
            border-radius: 0.1rem;
            background: #e0a550;
            position: absolute;
            top: 0;
            left: 0.16rem;
            transform: rotate(45deg);
        }
        &:hover {
            transform: rotate(180deg);
        }
    }
}
